﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="filler">
        <div id="container">
            <div id="header" class="ui-panel ui-corner-all .ui-round-all">
                @if (IsSectionDefined("header"))
                {
                    @RenderSection("header", false)
                }
                else
                {
                    <h1>
                        Philip Bonev's site</h1>
                }
            </div>
            <br />
            <div id="nav">
                @if (IsSectionDefined("nav"))
                { 
                    @RenderSection("nav", false)
                }
                else
                { 
                    <div id="cssmenu">
                        <ul>
                            <li class='active '><a href='home'><span>Home</span></a></li>
                            <li><a href='#'><span>Products</span></a></li>
                            <li><a href='#'><span>About</span></a></li>
                            <li><a href='#'><span>Contact</span></a></li>
                        </ul>
                    </div>
                }
            </div>
            <div id="content">
                @RenderBody()
            </div>
            <div id="footer">
                @if (IsSectionDefined("footer"))
                { 
                    @RenderSection("footer", false)
                }
                else
                { 
                   <span>Web site created by Philip Bonev.</span>
                }
            </div>
        </div>
    </div>
    <script src="@Url.Content("~/Scripts/jquery-2.1.0.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-2.7.2.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/json3.min.js")" type="text/javascript"></script>
    @if (IsSectionDefined("Scripts"))
    {
        @RenderSection("Scripts", false)
    }
</body>
</html>
